//
//  MessageViewController.m
//  QXShowing
//
//  Created by 王道道 on 2018/4/20.
//  Copyright © 2018年 doll_dream. All rights reserved.
//

#import "MessageViewController.h"

#import "MessageTableView.h"

@interface MessageViewController ()

@end

@implementation MessageViewController

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    self.tabBarController.tabBar.hidden = NO;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.title = @"消息";
    [self setupUI];

}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)setupUI {
    MessageTableView *tableView = [[MessageTableView alloc] initWithFrame:CGRectMake(0, 0, App_Frame_Width, App_Frame_Height-kNavbarAndStatusBar-kBottomBarHeight) style:UITableViewStylePlain];
    [self.view addSubview:tableView];
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
